package jenum.com;

/**
 * Created by as on 2016/11/17.
 */
public class A {
    int x1 = 0;
    static int x2 = 0;
    public void add()
    {
        x1++;
        x2++;
    }
}

class Execute{
    public static void main(String args[]){
        A a1 = new A();
        A a2 = new A();
        a1.add();
        a1.add();
        a2.add();
        System.out.print(a1.x1 + "，");
        System.out.print(a2.x2);
    }
}

